package com.futvan.z.erp.zproduct;

import com.futvan.z.framework.core.SuperService;
import org.springframework.stereotype.Service;

@Service
public class ZproductService extends SuperService {

    /**
     * 根据zid获取产品信息
     *
     * @param zid
     * @return
     */
    public z_product getProductInfo(String zid) {
        z_product z_product = sqlSession.selectOne("z_product_select_zid", zid);
        if (z_product != null) {
            return z_product;
        }
        return null;
    }

}
